Title: Disable Enfold Portfolio

Publish Date: Mon, 01 Oct 2018 07:00:42 +0000

Categories: Uncategorized

Content:

Do you use [ablank href="https://themeforest.net/item/enfold-responsive-multipurpose-theme/4519990" nofollow="true"]Enfold[/ablank] on your WordPress site? It's a good WordPress theme, old one, but still one of the best sellers on ThemeForest.



I recently moved to it for my blog as well, but I really can't stand that I cannot easily disable features that I do not need, like the Portfolio post type.



The developers provided a way to disable it via code though.









Open your functions.php file in wp-content/themes/your-enfold-child-theme/ and add this code at the end of the file:




https://gist.github.com/SiR-DanieL/403eabd0e2ecac4afbc784d8070e3ff6




If you prefer plugins instead you can download one down here.



[download id="3872"]



I prefer the plugin version, and that's what I use on this blog. The reason is simple: if I decide to enable the Portfolio again it's only a matter of a few clicks to disable and delete the plugin, instead of making changes to the code again.
